<?php

require_once "core/db.php";

class Mrecovery1 extends DB {

    private $_query;

    protected function issetAccount($name) {
        DB::getInstance()->openConnectionToLS();
        $this->_query = "SELECT `name` FROM `account_data` WHERE `name` = '$name'";
        if (mysql_num_rows(DB::getInstance()->sql($this->_query))) {
            return true;
        } else {
            return false;
        }
    }

}

?>
